﻿using AutoMapper;
using PowerHub.MES.DTO.BasicData.DTO;
using PowerHub.MES.DTO.Crew.DTO;
using PowerHub.MES.Entities.BasicData;
using PowerHub.MES.Entities.Crew;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PowerHub.MES.DTO.Crew
{
    public class CrewMappingProfile : Profile
    {
        public CrewMappingProfile()
        {
            //班组
            CreateMap<Crew_TeamBillDTO, Crew_TeamBill>();

            //班组计划
            CreateMap<Crew_SchedulingPlanDTO, Crew_SchedulingPlan>();
            CreateMap<Crew_SchedulingPlan, Crew_SchedulingPlanUpdateDto>();
            CreateMap<Crew_SchedulingPlanDetial, CrewSchedulingPlanDetialsDtos>();

            //班组类型
            CreateMap<Crew_TeamTypeDTO, Crew_TeamType>();
         


        }
    }
}
